package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.heima.model.media.dtos.NewsAuthDto;
import com.heima.model.media.pojos.WmNews;
import com.heima.model.media.vo.WmNewsVo;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.ss.formula.functions.T;

public interface WmNewsMapper extends BaseMapper<WmNews> {
    IPage<WmNewsVo> findListAndPage(IPage<T> page, @Param("dto") NewsAuthDto dto);//自定义的接口方法？？？
    int findListCount(@Param("dto") NewsAuthDto dto);

}
